package com.jcroke.swing10;

// Defines application wide constants
import java.awt.Color;
import java.awt.Font;

public interface Constants {
	// Element type definitions
	int ESC = 100;
	int LINE = 101;
	int RECTANGLE = 102;
	int CIRCLE = 103;
	int CURVE = 104;
	int TEXT = 105;

	int pointSizeMin = 8; // Minimum font point size
	int pointSizeMax = 24; // Maximum font point size
	int pointSizeStep = 2; // Point size step

	// Initial conditions
	int DEFAULT_ELEMENT_TYPE = LINE;
	Color DEFAULT_ELEMENT_COLOR = Color.BLUE;
	Font DEFAULT_FONT = new Font("Times New Roman", Font.PLAIN, 12);

	// Operating modes
	int NORMAL = 0;
	int MOVE = 1;
	int ROTATE = 2;
}
